<!-- 顶部悬浮 -->
<div class="top-fixed">
    <div class="navbar" style="max-width: 640px;margin: auto;">
        <div class="navbar-inner">
            <div class="left">
                <a href="javascript:;" class="backByHash" back-url="/">
                    <i class="fa fa-angle-left" style="font-size: 30px;"></i>
                </a>
            </div>
            <div class="center">商品详情</div>
            <div class="right">
                <a href="/" class=""><i class="fa fa-home"></i></a>
            </div>
        </div>
    </div>
</div>

<input type="hidden" id="item-{{goods.auctionId}}" value="1">
<input type="hidden" id="goods_id" value="{{goods.auctionId}}">
<input type="hidden" id="goods_url" value="{{goods.auctionUrl}}">
<input type="hidden" id="seller_id" value="{{goods.sellerId}}">
<input type="hidden" id="title" value="{{goods.title}}">

<section class="main" style="max-width: 640px;margin: auto;">
    <div id="swiper-images" class="swiper-container detail-swiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide bgf"><img src="{{goods.pictUrl}}" alt="" class="block"></div>
        </div>
        <div class="swiper-pagination"></div>
    </div>
    <div class="bgf p10">
        <p class="fs16 col0 bold">
        <div class="library_icon">
            {{#if goods.userType}}
                <i class="icons icons_shopB"></i>
            {{^}}
                <i class="icons icons_shopC"></i>
            {{/if}}
            {{#if goods.isJhs}}
                <i class="icons icons_jhs1"></i>
            {{/if}}
            {{#if goods.isTqg}}
                <i class="icons icons_tqg1"></i>
            {{/if}}
        </div>
        {{goods.title}}
        </p>
        {{#if goods.intro}}
            <p class="col6 fs11 multi-line">{{goods.intro}}</p>
        {{/if}}

        <div class="flex-box flex-between">
            <div class="red fs15">￥<span class="fs16">{{goods.zkPrice}}</span></div>
            <div class="fs12 colb">已售：{{goods.biz30day}}件</div>
        </div>

        <div class="bb col9 ptb10 fs18 bold">
            {{#if goods.activityId}}
                <a style="color: #F8044E;"
                   href="https://uland.taobao.com/coupon/edetail?activityId={{goods.activityId}}&amp;src=pylsite&amp;pid={{pid}}&amp;itemId={{goods.auctionId}}&amp;dx=1{{#if_eq
                           goods.commissionType 'MKT'}}&mt=1{{/if_eq}}"
                   target="_blank">领{{goods.couponAmount}}元优惠券, 劵后￥{{goods.quanPrice}}元</a>
                <a href="javascript:;" class="popcoupon btn-mini btn-mini_solid btn-block"
                   activityid="{{goods.activityId}}"
                   pid="{{pid}}"
                   quan_amount="{{goods.couponAmount}}"
                   itemid="{{goods.auctionId}}" style="display: block;">点击领券购买</a>
            {{^}}
                {{#if agencysCoupon}}
                    <a style="color: #F8044E;"
                       href="https://uland.taobao.com/coupon/edetail?e={{agencysCoupon.couponLink}}&pid={{pid}}&dx=1&af=1{{#if_eq
                               goods.commissionType 'MKT'}}&mt=1{{/if_eq}}"
                       target="_blank">{{goods.couponInfo}}</a>&nbsp;&nbsp;
                    <a href="javascript:;" class="popcoupon btn-mini btn-mini_solid"
                       activityid=""
                       pid="{{pid}}"
                       itemid="{{goods.auctionId}}" style="display: block;">点击领券购买</a>
                {{^}}
                    <a href="javascript:;" class="popcoupon btn-mini btn-mini_solid"
                       style="background: #35a922; border-color:  #35a922;"
                       activityid=""
                       pid="{{pid}}"
                       itemid="{{goods.auctionId}}" style="display: block;">复制口令购买</a>
                {{/if}}
            {{/if}}
        </div>

        <div class="flex-box flex-between pb10">
            <div id="fanli-panel" class="red fs12">
                {{#lesser 0 userFanli}}
                    <div class="red fs12">
                        预计返现: <span style="font-size: 18px;">{{userFanli}}</span>&nbsp;(以实际为准)
                    </div>
                    <div class="fs12 green">下单后把订单号发送到公众号可获取返现，如果购物车中已经有该商品，请先删除后复制口令下单</div>
                {{/lesser}}
                {{#lesser 0 agencyIncome}}
                    <div class="red fs12">
                        预计佣金: <span style="font-size: 18px;">{{agencyIncome}}</span>&nbsp;(以实际为准)
                    </div>
                {{/lesser}}
            </div>
        </div>

        <a href="javascript:;" class="link block ptb5 fs12">价格走势</a>
        <div id="priceTrend">
            <div class="infinite-preloader"></div>
            正在加载...
        </div>
    </div>

    <div id="storeGoodsesListWrapper" class="pt10" style="display: none;">
        <a href="javascript:;" class="link block bgf ptb5 pl10 fs12 red">同店推荐商品</a>
        <ul id="storeGoodsesList" class="weui-row list-col-2"></ul>
    </div>

    <div class="pt10">
        <a href="javascript:;" class="link block bgf ptb5 pl10 fs12 red">推荐商品</a>
        <ul id="recommendGoodsesList" class="weui-row list-col-2"></ul>
    </div>

    <div id="loadmore" class="weui-infinite-scroll">
        <div class="infinite-preloader"></div>
        正在加载...
    </div>
</section>
<a href="javascript:;" class="to-top">
    <i class="ico-top"></i>
</a>